#ifndef __HELPER_GL_H__
#define __HELPER_GL_H__

namespace rengine3d {

	void MakeGLMatrix(GLfloat gl_matrix[16], const CMat4& m);

	GLenum GetGLTextureParamEnum(textureParam_t type);
	GLenum GetGLTextureFuncEnum(textureFunc_t type);
	GLenum GetGLTextureSourceEnum(textureSource_t type);
	GLenum GetGLTextureOpEnum(textureOp_t type);
	GLenum GetGLDepthTestFuncEnum(depthTestFunc_t type);
	GLenum GetGLAlphaTestFuncEnum(alphaTestFunc_t type);
	GLenum GetGLStencilFuncEnum(stencilFunc_t type);
	GLenum GetGLStencilOpEnum(stencilOp_t type);
	GLenum GetGLBlendEnum(blendFunc_t type);

}

#endif
